package pers.cj.pdos.service;

import com.baomidou.mybatisplus.extension.service.IService;
import pers.cj.pdos.entity.*;
import pers.cj.pdos.vo.BorrowInBackVo;
import pers.cj.pdos.vo.BorrowOutBackVo;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author chenj
 * @since 2020-03-25
 */
public interface IBorrowOutBackService extends IService<BorrowOutBack> {

    boolean checkNo(String no, String companyId);


    void insert(BusinessSet businessSet, BorrowOutBack borrowOutBack, List<BorrowOutBackGoods> borrowOutBackGoodsList, List<GoodsSn> goodsSnList, List<GoodsSnLog> goodsSnLogList);

    BorrowOutBackVo getVoById(String id);

    List<BorrowOutBackVo> listVoByBorrowOutId(String borrowOutId);
}
